<template>
  <SupplierEvaluationDialog
    v-if="dialogFormVisible"
    :id.sync="editId"
    ref="SupplierEvaluationDialog"
    :dialog-form-visible.sync="dialogFormVisible"
  />
</template>
<script>
 import SupplierEvaluationDialog from "@/ModuleEvaluation/views/Evaluation/Supplier/SupplierEvaluationDialog.vue";
export default {
  name: "AuditSupplierEvaluationDetail",
  components: { SupplierEvaluationDialog },
  props: {
    dialogFormVisible: {
      type: Boolean,
      default: false,
    },
    editId: {
      type: String,
      default: "",
    },
  },
  data() {
    return {
      loading: true,
    };
  },
  watch: {
    dialogFormVisible: function(v) {
      if (v === false) {
        this.$emit("getList");
        this.$emit("update:dialogFormVisible", false);
      }
    },
  },
  created() {},
  methods: {
    // 弹窗使用不允许删除
    getList() {},
  },
};
</script>
<style scoped>
</style>
